package com.cloud.shopping.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.shopping.seckill.model.SeckillGoods;
import com.cloud.shopping.seckill.model.SeckillOrder;

import java.util.List;

/**
 * @author John.Zhang
 * @version Id: SeckillGoodsService, v 0.1 2021/1/8 11:04 ZhiYong Exp $
 */
public interface SeckillGoodsService extends IService<SeckillGoods> {

    /**
     * 热门商品分离  uri:商品ID
     * @param uri uri
     */
    void isolation(String uri);

    /**
     * 根据活动ID查询商品信息
     * @param acid acid
     * @return List
     */
    List<SeckillGoods> actGoods(String acid);

}
